package com.hqyj.am.dao;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hqyj.am.pojo.MyPage;
import com.hqyj.am.pojo.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.data.repository.query.Param;


/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author rock
<<<<<<< HEAD
 * @since 2022-08-17
 */
public interface UserMapper extends BaseMapper<User> {
    User showUser(Integer userId);
    int addUser(User user);
    Page<MyPage> queryUser(Page<MyPage> page,@Param("userName")String userName,@Param("department")String department,@Param("userNum")String userNum);
}
